An Implementation of Ray Tracing in CUDA
نویسندگان
چکیده
In computer graphics, ray tracing is a popular technique for rendering images with computers. In this project we implemented a serial version of ray tracing in C, and three parallelized versions in CUDA. We conducted experiments to demonstrate speedup with CUDA, as well as the importance of balancing workload among threads.
منابع مشابه
Real-Time Ray Tracing with CUDA
The graphics processors (GPUs) have recently emerged as a low-cost alternative for parallel programming. Since modern GPUs have great computational power as well as high memory bandwidth, running ray tracing on them has been an active field of research in computer graphics in recent years. Furthermore, the introduction of CUDA, a novel GPGPU architecture, has removed several limitations that th...
متن کاملA hybrid CPU-GPU Implementation for Interactive Ray-Tracing of Dynamic Scenes
In recent years, applying the powerful computational resources delivered by modern GPUs to ray tracing has resulted in a number of ray tracing implementations that allow rendering of moderately sized scenes at interactive speeds. For non-static scenes, besides ray tracing performance, fast construction of acceleration data structures such as kd-trees is of primary concern. In this paper, we pre...
متن کاملBiased global illumination via Irradiance Caching and Adaptive Path Tracing on GPUs
For the last decade Graphics Processor Units (GPUs) have made a great advance and became fully programmable processors. Since pixel shader 2.0 appeared, ray-tracing community has seen several successful implementations that used GPUs to perform raytracing. With the introduction of CUDA programming model this area of research experiences further growth. As more APIs are becoming available one ca...
متن کاملFast Ray Sorting and Breadth-First Packet Traversal for GPU Ray Tracing
We present a novel approach to ray tracing execution on commodity graphics hardware using CUDA. We decompose a standard ray tracing algorithm into several data-parallel stages that are mapped efficiently to the massively parallel architecture of modern GPUs. These stages include: ray sorting into coherent packets, creation of frustums for packets, breadth-first frustum traversal through a bound...
متن کاملReal-time Gpu Photon Mapping
Photon mapping, an algorithm developed by Henrik Wann Jensen [1], is a more realistic method of rendering a scene in computer graphics compared to ray and path tracing. Unlike ray tracing, photon mapping first emits lots of photons from light sources in a scene and then uses the photon map to calculate the radiance of each pixel in the rendered scene. Previous work in the area include a GPU pho...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009